import request from '@/utils/request'

// 查询订单礼品列表
export function listGift(query) {
  return request({
    url: '/order/gift/list',
    method: 'get',
    params: query
  })
}

// 查询订单礼品详细
export function getGift(id) {
  return request({
    url: '/order/gift/' + id,
    method: 'get'
  })
}



// 修改订单礼品
export function updateGift(data) {
  return request({
    url: '/order/gift',
    method: 'put',
    data: data
  })
}

